package com.ecs.to_tos_service.domain;

import java.util.ArrayList;
import java.util.Date;
import java.util.Iterator;
import java.util.List;

public class GtsOuttruckRecordExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public GtsOuttruckRecordExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        protected void addCriterionForJDBCDate(String condition, Date value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value.getTime()), property);
        }

        protected void addCriterionForJDBCDate(String condition, List<Date> values, String property) {
            if (values == null || values.size() == 0) {
                throw new RuntimeException("Value list for " + property + " cannot be null or empty");
            }
            List<java.sql.Date> dateList = new ArrayList<java.sql.Date>();
            Iterator<Date> iter = values.iterator();
            while (iter.hasNext()) {
                dateList.add(new java.sql.Date(iter.next().getTime()));
            }
            addCriterion(condition, dateList, property);
        }

        protected void addCriterionForJDBCDate(String condition, Date value1, Date value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value1.getTime()), new java.sql.Date(value2.getTime()), property);
        }

        public Criteria andOtrIdIsNull() {
            addCriterion("OTR_ID is null");
            return (Criteria) this;
        }

        public Criteria andOtrIdIsNotNull() {
            addCriterion("OTR_ID is not null");
            return (Criteria) this;
        }

        public Criteria andOtrIdEqualTo(Long value) {
            addCriterion("OTR_ID =", value, "otrId");
            return (Criteria) this;
        }

        public Criteria andOtrIdNotEqualTo(Long value) {
            addCriterion("OTR_ID <>", value, "otrId");
            return (Criteria) this;
        }

        public Criteria andOtrIdGreaterThan(Long value) {
            addCriterion("OTR_ID >", value, "otrId");
            return (Criteria) this;
        }

        public Criteria andOtrIdGreaterThanOrEqualTo(Long value) {
            addCriterion("OTR_ID >=", value, "otrId");
            return (Criteria) this;
        }

        public Criteria andOtrIdLessThan(Long value) {
            addCriterion("OTR_ID <", value, "otrId");
            return (Criteria) this;
        }

        public Criteria andOtrIdLessThanOrEqualTo(Long value) {
            addCriterion("OTR_ID <=", value, "otrId");
            return (Criteria) this;
        }

        public Criteria andOtrIdIn(List<Long> values) {
            addCriterion("OTR_ID in", values, "otrId");
            return (Criteria) this;
        }

        public Criteria andOtrIdNotIn(List<Long> values) {
            addCriterion("OTR_ID not in", values, "otrId");
            return (Criteria) this;
        }

        public Criteria andOtrIdBetween(Long value1, Long value2) {
            addCriterion("OTR_ID between", value1, value2, "otrId");
            return (Criteria) this;
        }

        public Criteria andOtrIdNotBetween(Long value1, Long value2) {
            addCriterion("OTR_ID not between", value1, value2, "otrId");
            return (Criteria) this;
        }

        public Criteria andOtrTrknoIsNull() {
            addCriterion("OTR_TRKNO is null");
            return (Criteria) this;
        }

        public Criteria andOtrTrknoIsNotNull() {
            addCriterion("OTR_TRKNO is not null");
            return (Criteria) this;
        }

        public Criteria andOtrTrknoEqualTo(String value) {
            addCriterion("OTR_TRKNO =", value, "otrTrkno");
            return (Criteria) this;
        }

        public Criteria andOtrTrknoNotEqualTo(String value) {
            addCriterion("OTR_TRKNO <>", value, "otrTrkno");
            return (Criteria) this;
        }

        public Criteria andOtrTrknoGreaterThan(String value) {
            addCriterion("OTR_TRKNO >", value, "otrTrkno");
            return (Criteria) this;
        }

        public Criteria andOtrTrknoGreaterThanOrEqualTo(String value) {
            addCriterion("OTR_TRKNO >=", value, "otrTrkno");
            return (Criteria) this;
        }

        public Criteria andOtrTrknoLessThan(String value) {
            addCriterion("OTR_TRKNO <", value, "otrTrkno");
            return (Criteria) this;
        }

        public Criteria andOtrTrknoLessThanOrEqualTo(String value) {
            addCriterion("OTR_TRKNO <=", value, "otrTrkno");
            return (Criteria) this;
        }

        public Criteria andOtrTrknoLike(String value) {
            addCriterion("OTR_TRKNO like", value, "otrTrkno");
            return (Criteria) this;
        }

        public Criteria andOtrTrknoNotLike(String value) {
            addCriterion("OTR_TRKNO not like", value, "otrTrkno");
            return (Criteria) this;
        }

        public Criteria andOtrTrknoIn(List<String> values) {
            addCriterion("OTR_TRKNO in", values, "otrTrkno");
            return (Criteria) this;
        }

        public Criteria andOtrTrknoNotIn(List<String> values) {
            addCriterion("OTR_TRKNO not in", values, "otrTrkno");
            return (Criteria) this;
        }

        public Criteria andOtrTrknoBetween(String value1, String value2) {
            addCriterion("OTR_TRKNO between", value1, value2, "otrTrkno");
            return (Criteria) this;
        }

        public Criteria andOtrTrknoNotBetween(String value1, String value2) {
            addCriterion("OTR_TRKNO not between", value1, value2, "otrTrkno");
            return (Criteria) this;
        }

        public Criteria andOtrIdentifyfgIsNull() {
            addCriterion("OTR_IDENTIFYFG is null");
            return (Criteria) this;
        }

        public Criteria andOtrIdentifyfgIsNotNull() {
            addCriterion("OTR_IDENTIFYFG is not null");
            return (Criteria) this;
        }

        public Criteria andOtrIdentifyfgEqualTo(String value) {
            addCriterion("OTR_IDENTIFYFG =", value, "otrIdentifyfg");
            return (Criteria) this;
        }

        public Criteria andOtrIdentifyfgNotEqualTo(String value) {
            addCriterion("OTR_IDENTIFYFG <>", value, "otrIdentifyfg");
            return (Criteria) this;
        }

        public Criteria andOtrIdentifyfgGreaterThan(String value) {
            addCriterion("OTR_IDENTIFYFG >", value, "otrIdentifyfg");
            return (Criteria) this;
        }

        public Criteria andOtrIdentifyfgGreaterThanOrEqualTo(String value) {
            addCriterion("OTR_IDENTIFYFG >=", value, "otrIdentifyfg");
            return (Criteria) this;
        }

        public Criteria andOtrIdentifyfgLessThan(String value) {
            addCriterion("OTR_IDENTIFYFG <", value, "otrIdentifyfg");
            return (Criteria) this;
        }

        public Criteria andOtrIdentifyfgLessThanOrEqualTo(String value) {
            addCriterion("OTR_IDENTIFYFG <=", value, "otrIdentifyfg");
            return (Criteria) this;
        }

        public Criteria andOtrIdentifyfgLike(String value) {
            addCriterion("OTR_IDENTIFYFG like", value, "otrIdentifyfg");
            return (Criteria) this;
        }

        public Criteria andOtrIdentifyfgNotLike(String value) {
            addCriterion("OTR_IDENTIFYFG not like", value, "otrIdentifyfg");
            return (Criteria) this;
        }

        public Criteria andOtrIdentifyfgIn(List<String> values) {
            addCriterion("OTR_IDENTIFYFG in", values, "otrIdentifyfg");
            return (Criteria) this;
        }

        public Criteria andOtrIdentifyfgNotIn(List<String> values) {
            addCriterion("OTR_IDENTIFYFG not in", values, "otrIdentifyfg");
            return (Criteria) this;
        }

        public Criteria andOtrIdentifyfgBetween(String value1, String value2) {
            addCriterion("OTR_IDENTIFYFG between", value1, value2, "otrIdentifyfg");
            return (Criteria) this;
        }

        public Criteria andOtrIdentifyfgNotBetween(String value1, String value2) {
            addCriterion("OTR_IDENTIFYFG not between", value1, value2, "otrIdentifyfg");
            return (Criteria) this;
        }

        public Criteria andOtrIcidIsNull() {
            addCriterion("OTR_ICID is null");
            return (Criteria) this;
        }

        public Criteria andOtrIcidIsNotNull() {
            addCriterion("OTR_ICID is not null");
            return (Criteria) this;
        }

        public Criteria andOtrIcidEqualTo(String value) {
            addCriterion("OTR_ICID =", value, "otrIcid");
            return (Criteria) this;
        }

        public Criteria andOtrIcidNotEqualTo(String value) {
            addCriterion("OTR_ICID <>", value, "otrIcid");
            return (Criteria) this;
        }

        public Criteria andOtrIcidGreaterThan(String value) {
            addCriterion("OTR_ICID >", value, "otrIcid");
            return (Criteria) this;
        }

        public Criteria andOtrIcidGreaterThanOrEqualTo(String value) {
            addCriterion("OTR_ICID >=", value, "otrIcid");
            return (Criteria) this;
        }

        public Criteria andOtrIcidLessThan(String value) {
            addCriterion("OTR_ICID <", value, "otrIcid");
            return (Criteria) this;
        }

        public Criteria andOtrIcidLessThanOrEqualTo(String value) {
            addCriterion("OTR_ICID <=", value, "otrIcid");
            return (Criteria) this;
        }

        public Criteria andOtrIcidLike(String value) {
            addCriterion("OTR_ICID like", value, "otrIcid");
            return (Criteria) this;
        }

        public Criteria andOtrIcidNotLike(String value) {
            addCriterion("OTR_ICID not like", value, "otrIcid");
            return (Criteria) this;
        }

        public Criteria andOtrIcidIn(List<String> values) {
            addCriterion("OTR_ICID in", values, "otrIcid");
            return (Criteria) this;
        }

        public Criteria andOtrIcidNotIn(List<String> values) {
            addCriterion("OTR_ICID not in", values, "otrIcid");
            return (Criteria) this;
        }

        public Criteria andOtrIcidBetween(String value1, String value2) {
            addCriterion("OTR_ICID between", value1, value2, "otrIcid");
            return (Criteria) this;
        }

        public Criteria andOtrIcidNotBetween(String value1, String value2) {
            addCriterion("OTR_ICID not between", value1, value2, "otrIcid");
            return (Criteria) this;
        }

        public Criteria andOtrIctypeIsNull() {
            addCriterion("OTR_ICTYPE is null");
            return (Criteria) this;
        }

        public Criteria andOtrIctypeIsNotNull() {
            addCriterion("OTR_ICTYPE is not null");
            return (Criteria) this;
        }

        public Criteria andOtrIctypeEqualTo(String value) {
            addCriterion("OTR_ICTYPE =", value, "otrIctype");
            return (Criteria) this;
        }

        public Criteria andOtrIctypeNotEqualTo(String value) {
            addCriterion("OTR_ICTYPE <>", value, "otrIctype");
            return (Criteria) this;
        }

        public Criteria andOtrIctypeGreaterThan(String value) {
            addCriterion("OTR_ICTYPE >", value, "otrIctype");
            return (Criteria) this;
        }

        public Criteria andOtrIctypeGreaterThanOrEqualTo(String value) {
            addCriterion("OTR_ICTYPE >=", value, "otrIctype");
            return (Criteria) this;
        }

        public Criteria andOtrIctypeLessThan(String value) {
            addCriterion("OTR_ICTYPE <", value, "otrIctype");
            return (Criteria) this;
        }

        public Criteria andOtrIctypeLessThanOrEqualTo(String value) {
            addCriterion("OTR_ICTYPE <=", value, "otrIctype");
            return (Criteria) this;
        }

        public Criteria andOtrIctypeLike(String value) {
            addCriterion("OTR_ICTYPE like", value, "otrIctype");
            return (Criteria) this;
        }

        public Criteria andOtrIctypeNotLike(String value) {
            addCriterion("OTR_ICTYPE not like", value, "otrIctype");
            return (Criteria) this;
        }

        public Criteria andOtrIctypeIn(List<String> values) {
            addCriterion("OTR_ICTYPE in", values, "otrIctype");
            return (Criteria) this;
        }

        public Criteria andOtrIctypeNotIn(List<String> values) {
            addCriterion("OTR_ICTYPE not in", values, "otrIctype");
            return (Criteria) this;
        }

        public Criteria andOtrIctypeBetween(String value1, String value2) {
            addCriterion("OTR_ICTYPE between", value1, value2, "otrIctype");
            return (Criteria) this;
        }

        public Criteria andOtrIctypeNotBetween(String value1, String value2) {
            addCriterion("OTR_ICTYPE not between", value1, value2, "otrIctype");
            return (Criteria) this;
        }

        public Criteria andOtrOridataIsNull() {
            addCriterion("OTR_ORIDATA is null");
            return (Criteria) this;
        }

        public Criteria andOtrOridataIsNotNull() {
            addCriterion("OTR_ORIDATA is not null");
            return (Criteria) this;
        }

        public Criteria andOtrOridataEqualTo(String value) {
            addCriterion("OTR_ORIDATA =", value, "otrOridata");
            return (Criteria) this;
        }

        public Criteria andOtrOridataNotEqualTo(String value) {
            addCriterion("OTR_ORIDATA <>", value, "otrOridata");
            return (Criteria) this;
        }

        public Criteria andOtrOridataGreaterThan(String value) {
            addCriterion("OTR_ORIDATA >", value, "otrOridata");
            return (Criteria) this;
        }

        public Criteria andOtrOridataGreaterThanOrEqualTo(String value) {
            addCriterion("OTR_ORIDATA >=", value, "otrOridata");
            return (Criteria) this;
        }

        public Criteria andOtrOridataLessThan(String value) {
            addCriterion("OTR_ORIDATA <", value, "otrOridata");
            return (Criteria) this;
        }

        public Criteria andOtrOridataLessThanOrEqualTo(String value) {
            addCriterion("OTR_ORIDATA <=", value, "otrOridata");
            return (Criteria) this;
        }

        public Criteria andOtrOridataLike(String value) {
            addCriterion("OTR_ORIDATA like", value, "otrOridata");
            return (Criteria) this;
        }

        public Criteria andOtrOridataNotLike(String value) {
            addCriterion("OTR_ORIDATA not like", value, "otrOridata");
            return (Criteria) this;
        }

        public Criteria andOtrOridataIn(List<String> values) {
            addCriterion("OTR_ORIDATA in", values, "otrOridata");
            return (Criteria) this;
        }

        public Criteria andOtrOridataNotIn(List<String> values) {
            addCriterion("OTR_ORIDATA not in", values, "otrOridata");
            return (Criteria) this;
        }

        public Criteria andOtrOridataBetween(String value1, String value2) {
            addCriterion("OTR_ORIDATA between", value1, value2, "otrOridata");
            return (Criteria) this;
        }

        public Criteria andOtrOridataNotBetween(String value1, String value2) {
            addCriterion("OTR_ORIDATA not between", value1, value2, "otrOridata");
            return (Criteria) this;
        }

        public Criteria andOtrTruckweightIsNull() {
            addCriterion("OTR_TRUCKWEIGHT is null");
            return (Criteria) this;
        }

        public Criteria andOtrTruckweightIsNotNull() {
            addCriterion("OTR_TRUCKWEIGHT is not null");
            return (Criteria) this;
        }

        public Criteria andOtrTruckweightEqualTo(Integer value) {
            addCriterion("OTR_TRUCKWEIGHT =", value, "otrTruckweight");
            return (Criteria) this;
        }

        public Criteria andOtrTruckweightNotEqualTo(Integer value) {
            addCriterion("OTR_TRUCKWEIGHT <>", value, "otrTruckweight");
            return (Criteria) this;
        }

        public Criteria andOtrTruckweightGreaterThan(Integer value) {
            addCriterion("OTR_TRUCKWEIGHT >", value, "otrTruckweight");
            return (Criteria) this;
        }

        public Criteria andOtrTruckweightGreaterThanOrEqualTo(Integer value) {
            addCriterion("OTR_TRUCKWEIGHT >=", value, "otrTruckweight");
            return (Criteria) this;
        }

        public Criteria andOtrTruckweightLessThan(Integer value) {
            addCriterion("OTR_TRUCKWEIGHT <", value, "otrTruckweight");
            return (Criteria) this;
        }

        public Criteria andOtrTruckweightLessThanOrEqualTo(Integer value) {
            addCriterion("OTR_TRUCKWEIGHT <=", value, "otrTruckweight");
            return (Criteria) this;
        }

        public Criteria andOtrTruckweightIn(List<Integer> values) {
            addCriterion("OTR_TRUCKWEIGHT in", values, "otrTruckweight");
            return (Criteria) this;
        }

        public Criteria andOtrTruckweightNotIn(List<Integer> values) {
            addCriterion("OTR_TRUCKWEIGHT not in", values, "otrTruckweight");
            return (Criteria) this;
        }

        public Criteria andOtrTruckweightBetween(Integer value1, Integer value2) {
            addCriterion("OTR_TRUCKWEIGHT between", value1, value2, "otrTruckweight");
            return (Criteria) this;
        }

        public Criteria andOtrTruckweightNotBetween(Integer value1, Integer value2) {
            addCriterion("OTR_TRUCKWEIGHT not between", value1, value2, "otrTruckweight");
            return (Criteria) this;
        }

        public Criteria andOtrWeightIsNull() {
            addCriterion("OTR_WEIGHT is null");
            return (Criteria) this;
        }

        public Criteria andOtrWeightIsNotNull() {
            addCriterion("OTR_WEIGHT is not null");
            return (Criteria) this;
        }

        public Criteria andOtrWeightEqualTo(Integer value) {
            addCriterion("OTR_WEIGHT =", value, "otrWeight");
            return (Criteria) this;
        }

        public Criteria andOtrWeightNotEqualTo(Integer value) {
            addCriterion("OTR_WEIGHT <>", value, "otrWeight");
            return (Criteria) this;
        }

        public Criteria andOtrWeightGreaterThan(Integer value) {
            addCriterion("OTR_WEIGHT >", value, "otrWeight");
            return (Criteria) this;
        }

        public Criteria andOtrWeightGreaterThanOrEqualTo(Integer value) {
            addCriterion("OTR_WEIGHT >=", value, "otrWeight");
            return (Criteria) this;
        }

        public Criteria andOtrWeightLessThan(Integer value) {
            addCriterion("OTR_WEIGHT <", value, "otrWeight");
            return (Criteria) this;
        }

        public Criteria andOtrWeightLessThanOrEqualTo(Integer value) {
            addCriterion("OTR_WEIGHT <=", value, "otrWeight");
            return (Criteria) this;
        }

        public Criteria andOtrWeightIn(List<Integer> values) {
            addCriterion("OTR_WEIGHT in", values, "otrWeight");
            return (Criteria) this;
        }

        public Criteria andOtrWeightNotIn(List<Integer> values) {
            addCriterion("OTR_WEIGHT not in", values, "otrWeight");
            return (Criteria) this;
        }

        public Criteria andOtrWeightBetween(Integer value1, Integer value2) {
            addCriterion("OTR_WEIGHT between", value1, value2, "otrWeight");
            return (Criteria) this;
        }

        public Criteria andOtrWeightNotBetween(Integer value1, Integer value2) {
            addCriterion("OTR_WEIGHT not between", value1, value2, "otrWeight");
            return (Criteria) this;
        }

        public Criteria andOtrOperstatusIsNull() {
            addCriterion("OTR_OPERSTATUS is null");
            return (Criteria) this;
        }

        public Criteria andOtrOperstatusIsNotNull() {
            addCriterion("OTR_OPERSTATUS is not null");
            return (Criteria) this;
        }

        public Criteria andOtrOperstatusEqualTo(String value) {
            addCriterion("OTR_OPERSTATUS =", value, "otrOperstatus");
            return (Criteria) this;
        }

        public Criteria andOtrOperstatusNotEqualTo(String value) {
            addCriterion("OTR_OPERSTATUS <>", value, "otrOperstatus");
            return (Criteria) this;
        }

        public Criteria andOtrOperstatusGreaterThan(String value) {
            addCriterion("OTR_OPERSTATUS >", value, "otrOperstatus");
            return (Criteria) this;
        }

        public Criteria andOtrOperstatusGreaterThanOrEqualTo(String value) {
            addCriterion("OTR_OPERSTATUS >=", value, "otrOperstatus");
            return (Criteria) this;
        }

        public Criteria andOtrOperstatusLessThan(String value) {
            addCriterion("OTR_OPERSTATUS <", value, "otrOperstatus");
            return (Criteria) this;
        }

        public Criteria andOtrOperstatusLessThanOrEqualTo(String value) {
            addCriterion("OTR_OPERSTATUS <=", value, "otrOperstatus");
            return (Criteria) this;
        }

        public Criteria andOtrOperstatusLike(String value) {
            addCriterion("OTR_OPERSTATUS like", value, "otrOperstatus");
            return (Criteria) this;
        }

        public Criteria andOtrOperstatusNotLike(String value) {
            addCriterion("OTR_OPERSTATUS not like", value, "otrOperstatus");
            return (Criteria) this;
        }

        public Criteria andOtrOperstatusIn(List<String> values) {
            addCriterion("OTR_OPERSTATUS in", values, "otrOperstatus");
            return (Criteria) this;
        }

        public Criteria andOtrOperstatusNotIn(List<String> values) {
            addCriterion("OTR_OPERSTATUS not in", values, "otrOperstatus");
            return (Criteria) this;
        }

        public Criteria andOtrOperstatusBetween(String value1, String value2) {
            addCriterion("OTR_OPERSTATUS between", value1, value2, "otrOperstatus");
            return (Criteria) this;
        }

        public Criteria andOtrOperstatusNotBetween(String value1, String value2) {
            addCriterion("OTR_OPERSTATUS not between", value1, value2, "otrOperstatus");
            return (Criteria) this;
        }

        public Criteria andOtrOperpositionIsNull() {
            addCriterion("OTR_OPERPOSITION is null");
            return (Criteria) this;
        }

        public Criteria andOtrOperpositionIsNotNull() {
            addCriterion("OTR_OPERPOSITION is not null");
            return (Criteria) this;
        }

        public Criteria andOtrOperpositionEqualTo(String value) {
            addCriterion("OTR_OPERPOSITION =", value, "otrOperposition");
            return (Criteria) this;
        }

        public Criteria andOtrOperpositionNotEqualTo(String value) {
            addCriterion("OTR_OPERPOSITION <>", value, "otrOperposition");
            return (Criteria) this;
        }

        public Criteria andOtrOperpositionGreaterThan(String value) {
            addCriterion("OTR_OPERPOSITION >", value, "otrOperposition");
            return (Criteria) this;
        }

        public Criteria andOtrOperpositionGreaterThanOrEqualTo(String value) {
            addCriterion("OTR_OPERPOSITION >=", value, "otrOperposition");
            return (Criteria) this;
        }

        public Criteria andOtrOperpositionLessThan(String value) {
            addCriterion("OTR_OPERPOSITION <", value, "otrOperposition");
            return (Criteria) this;
        }

        public Criteria andOtrOperpositionLessThanOrEqualTo(String value) {
            addCriterion("OTR_OPERPOSITION <=", value, "otrOperposition");
            return (Criteria) this;
        }

        public Criteria andOtrOperpositionLike(String value) {
            addCriterion("OTR_OPERPOSITION like", value, "otrOperposition");
            return (Criteria) this;
        }

        public Criteria andOtrOperpositionNotLike(String value) {
            addCriterion("OTR_OPERPOSITION not like", value, "otrOperposition");
            return (Criteria) this;
        }

        public Criteria andOtrOperpositionIn(List<String> values) {
            addCriterion("OTR_OPERPOSITION in", values, "otrOperposition");
            return (Criteria) this;
        }

        public Criteria andOtrOperpositionNotIn(List<String> values) {
            addCriterion("OTR_OPERPOSITION not in", values, "otrOperposition");
            return (Criteria) this;
        }

        public Criteria andOtrOperpositionBetween(String value1, String value2) {
            addCriterion("OTR_OPERPOSITION between", value1, value2, "otrOperposition");
            return (Criteria) this;
        }

        public Criteria andOtrOperpositionNotBetween(String value1, String value2) {
            addCriterion("OTR_OPERPOSITION not between", value1, value2, "otrOperposition");
            return (Criteria) this;
        }

        public Criteria andOtrChkInchckpointnoIsNull() {
            addCriterion("OTR_CHK_INCHCKPOINTNO is null");
            return (Criteria) this;
        }

        public Criteria andOtrChkInchckpointnoIsNotNull() {
            addCriterion("OTR_CHK_INCHCKPOINTNO is not null");
            return (Criteria) this;
        }

        public Criteria andOtrChkInchckpointnoEqualTo(String value) {
            addCriterion("OTR_CHK_INCHCKPOINTNO =", value, "otrChkInchckpointno");
            return (Criteria) this;
        }

        public Criteria andOtrChkInchckpointnoNotEqualTo(String value) {
            addCriterion("OTR_CHK_INCHCKPOINTNO <>", value, "otrChkInchckpointno");
            return (Criteria) this;
        }

        public Criteria andOtrChkInchckpointnoGreaterThan(String value) {
            addCriterion("OTR_CHK_INCHCKPOINTNO >", value, "otrChkInchckpointno");
            return (Criteria) this;
        }

        public Criteria andOtrChkInchckpointnoGreaterThanOrEqualTo(String value) {
            addCriterion("OTR_CHK_INCHCKPOINTNO >=", value, "otrChkInchckpointno");
            return (Criteria) this;
        }

        public Criteria andOtrChkInchckpointnoLessThan(String value) {
            addCriterion("OTR_CHK_INCHCKPOINTNO <", value, "otrChkInchckpointno");
            return (Criteria) this;
        }

        public Criteria andOtrChkInchckpointnoLessThanOrEqualTo(String value) {
            addCriterion("OTR_CHK_INCHCKPOINTNO <=", value, "otrChkInchckpointno");
            return (Criteria) this;
        }

        public Criteria andOtrChkInchckpointnoLike(String value) {
            addCriterion("OTR_CHK_INCHCKPOINTNO like", value, "otrChkInchckpointno");
            return (Criteria) this;
        }

        public Criteria andOtrChkInchckpointnoNotLike(String value) {
            addCriterion("OTR_CHK_INCHCKPOINTNO not like", value, "otrChkInchckpointno");
            return (Criteria) this;
        }

        public Criteria andOtrChkInchckpointnoIn(List<String> values) {
            addCriterion("OTR_CHK_INCHCKPOINTNO in", values, "otrChkInchckpointno");
            return (Criteria) this;
        }

        public Criteria andOtrChkInchckpointnoNotIn(List<String> values) {
            addCriterion("OTR_CHK_INCHCKPOINTNO not in", values, "otrChkInchckpointno");
            return (Criteria) this;
        }

        public Criteria andOtrChkInchckpointnoBetween(String value1, String value2) {
            addCriterion("OTR_CHK_INCHCKPOINTNO between", value1, value2, "otrChkInchckpointno");
            return (Criteria) this;
        }

        public Criteria andOtrChkInchckpointnoNotBetween(String value1, String value2) {
            addCriterion("OTR_CHK_INCHCKPOINTNO not between", value1, value2, "otrChkInchckpointno");
            return (Criteria) this;
        }

        public Criteria andOtrIngatetmIsNull() {
            addCriterion("OTR_INGATETM is null");
            return (Criteria) this;
        }

        public Criteria andOtrIngatetmIsNotNull() {
            addCriterion("OTR_INGATETM is not null");
            return (Criteria) this;
        }

        public Criteria andOtrIngatetmEqualTo(Date value) {
            addCriterionForJDBCDate("OTR_INGATETM =", value, "otrIngatetm");
            return (Criteria) this;
        }

        public Criteria andOtrIngatetmNotEqualTo(Date value) {
            addCriterionForJDBCDate("OTR_INGATETM <>", value, "otrIngatetm");
            return (Criteria) this;
        }

        public Criteria andOtrIngatetmGreaterThan(Date value) {
            addCriterionForJDBCDate("OTR_INGATETM >", value, "otrIngatetm");
            return (Criteria) this;
        }

        public Criteria andOtrIngatetmGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("OTR_INGATETM >=", value, "otrIngatetm");
            return (Criteria) this;
        }

        public Criteria andOtrIngatetmLessThan(Date value) {
            addCriterionForJDBCDate("OTR_INGATETM <", value, "otrIngatetm");
            return (Criteria) this;
        }

        public Criteria andOtrIngatetmLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("OTR_INGATETM <=", value, "otrIngatetm");
            return (Criteria) this;
        }

        public Criteria andOtrIngatetmIn(List<Date> values) {
            addCriterionForJDBCDate("OTR_INGATETM in", values, "otrIngatetm");
            return (Criteria) this;
        }

        public Criteria andOtrIngatetmNotIn(List<Date> values) {
            addCriterionForJDBCDate("OTR_INGATETM not in", values, "otrIngatetm");
            return (Criteria) this;
        }

        public Criteria andOtrIngatetmBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("OTR_INGATETM between", value1, value2, "otrIngatetm");
            return (Criteria) this;
        }

        public Criteria andOtrIngatetmNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("OTR_INGATETM not between", value1, value2, "otrIngatetm");
            return (Criteria) this;
        }

        public Criteria andOtrInyardtmIsNull() {
            addCriterion("OTR_INYARDTM is null");
            return (Criteria) this;
        }

        public Criteria andOtrInyardtmIsNotNull() {
            addCriterion("OTR_INYARDTM is not null");
            return (Criteria) this;
        }

        public Criteria andOtrInyardtmEqualTo(Date value) {
            addCriterionForJDBCDate("OTR_INYARDTM =", value, "otrInyardtm");
            return (Criteria) this;
        }

        public Criteria andOtrInyardtmNotEqualTo(Date value) {
            addCriterionForJDBCDate("OTR_INYARDTM <>", value, "otrInyardtm");
            return (Criteria) this;
        }

        public Criteria andOtrInyardtmGreaterThan(Date value) {
            addCriterionForJDBCDate("OTR_INYARDTM >", value, "otrInyardtm");
            return (Criteria) this;
        }

        public Criteria andOtrInyardtmGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("OTR_INYARDTM >=", value, "otrInyardtm");
            return (Criteria) this;
        }

        public Criteria andOtrInyardtmLessThan(Date value) {
            addCriterionForJDBCDate("OTR_INYARDTM <", value, "otrInyardtm");
            return (Criteria) this;
        }

        public Criteria andOtrInyardtmLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("OTR_INYARDTM <=", value, "otrInyardtm");
            return (Criteria) this;
        }

        public Criteria andOtrInyardtmIn(List<Date> values) {
            addCriterionForJDBCDate("OTR_INYARDTM in", values, "otrInyardtm");
            return (Criteria) this;
        }

        public Criteria andOtrInyardtmNotIn(List<Date> values) {
            addCriterionForJDBCDate("OTR_INYARDTM not in", values, "otrInyardtm");
            return (Criteria) this;
        }

        public Criteria andOtrInyardtmBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("OTR_INYARDTM between", value1, value2, "otrInyardtm");
            return (Criteria) this;
        }

        public Criteria andOtrInyardtmNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("OTR_INYARDTM not between", value1, value2, "otrInyardtm");
            return (Criteria) this;
        }

        public Criteria andOtrChkOutchckpointnoIsNull() {
            addCriterion("OTR_CHK_OUTCHCKPOINTNO is null");
            return (Criteria) this;
        }

        public Criteria andOtrChkOutchckpointnoIsNotNull() {
            addCriterion("OTR_CHK_OUTCHCKPOINTNO is not null");
            return (Criteria) this;
        }

        public Criteria andOtrChkOutchckpointnoEqualTo(String value) {
            addCriterion("OTR_CHK_OUTCHCKPOINTNO =", value, "otrChkOutchckpointno");
            return (Criteria) this;
        }

        public Criteria andOtrChkOutchckpointnoNotEqualTo(String value) {
            addCriterion("OTR_CHK_OUTCHCKPOINTNO <>", value, "otrChkOutchckpointno");
            return (Criteria) this;
        }

        public Criteria andOtrChkOutchckpointnoGreaterThan(String value) {
            addCriterion("OTR_CHK_OUTCHCKPOINTNO >", value, "otrChkOutchckpointno");
            return (Criteria) this;
        }

        public Criteria andOtrChkOutchckpointnoGreaterThanOrEqualTo(String value) {
            addCriterion("OTR_CHK_OUTCHCKPOINTNO >=", value, "otrChkOutchckpointno");
            return (Criteria) this;
        }

        public Criteria andOtrChkOutchckpointnoLessThan(String value) {
            addCriterion("OTR_CHK_OUTCHCKPOINTNO <", value, "otrChkOutchckpointno");
            return (Criteria) this;
        }

        public Criteria andOtrChkOutchckpointnoLessThanOrEqualTo(String value) {
            addCriterion("OTR_CHK_OUTCHCKPOINTNO <=", value, "otrChkOutchckpointno");
            return (Criteria) this;
        }

        public Criteria andOtrChkOutchckpointnoLike(String value) {
            addCriterion("OTR_CHK_OUTCHCKPOINTNO like", value, "otrChkOutchckpointno");
            return (Criteria) this;
        }

        public Criteria andOtrChkOutchckpointnoNotLike(String value) {
            addCriterion("OTR_CHK_OUTCHCKPOINTNO not like", value, "otrChkOutchckpointno");
            return (Criteria) this;
        }

        public Criteria andOtrChkOutchckpointnoIn(List<String> values) {
            addCriterion("OTR_CHK_OUTCHCKPOINTNO in", values, "otrChkOutchckpointno");
            return (Criteria) this;
        }

        public Criteria andOtrChkOutchckpointnoNotIn(List<String> values) {
            addCriterion("OTR_CHK_OUTCHCKPOINTNO not in", values, "otrChkOutchckpointno");
            return (Criteria) this;
        }

        public Criteria andOtrChkOutchckpointnoBetween(String value1, String value2) {
            addCriterion("OTR_CHK_OUTCHCKPOINTNO between", value1, value2, "otrChkOutchckpointno");
            return (Criteria) this;
        }

        public Criteria andOtrChkOutchckpointnoNotBetween(String value1, String value2) {
            addCriterion("OTR_CHK_OUTCHCKPOINTNO not between", value1, value2, "otrChkOutchckpointno");
            return (Criteria) this;
        }

        public Criteria andOtrOutgatetmIsNull() {
            addCriterion("OTR_OUTGATETM is null");
            return (Criteria) this;
        }

        public Criteria andOtrOutgatetmIsNotNull() {
            addCriterion("OTR_OUTGATETM is not null");
            return (Criteria) this;
        }

        public Criteria andOtrOutgatetmEqualTo(Date value) {
            addCriterionForJDBCDate("OTR_OUTGATETM =", value, "otrOutgatetm");
            return (Criteria) this;
        }

        public Criteria andOtrOutgatetmNotEqualTo(Date value) {
            addCriterionForJDBCDate("OTR_OUTGATETM <>", value, "otrOutgatetm");
            return (Criteria) this;
        }

        public Criteria andOtrOutgatetmGreaterThan(Date value) {
            addCriterionForJDBCDate("OTR_OUTGATETM >", value, "otrOutgatetm");
            return (Criteria) this;
        }

        public Criteria andOtrOutgatetmGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("OTR_OUTGATETM >=", value, "otrOutgatetm");
            return (Criteria) this;
        }

        public Criteria andOtrOutgatetmLessThan(Date value) {
            addCriterionForJDBCDate("OTR_OUTGATETM <", value, "otrOutgatetm");
            return (Criteria) this;
        }

        public Criteria andOtrOutgatetmLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("OTR_OUTGATETM <=", value, "otrOutgatetm");
            return (Criteria) this;
        }

        public Criteria andOtrOutgatetmIn(List<Date> values) {
            addCriterionForJDBCDate("OTR_OUTGATETM in", values, "otrOutgatetm");
            return (Criteria) this;
        }

        public Criteria andOtrOutgatetmNotIn(List<Date> values) {
            addCriterionForJDBCDate("OTR_OUTGATETM not in", values, "otrOutgatetm");
            return (Criteria) this;
        }

        public Criteria andOtrOutgatetmBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("OTR_OUTGATETM between", value1, value2, "otrOutgatetm");
            return (Criteria) this;
        }

        public Criteria andOtrOutgatetmNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("OTR_OUTGATETM not between", value1, value2, "otrOutgatetm");
            return (Criteria) this;
        }

        public Criteria andOtrContactinfoIsNull() {
            addCriterion("OTR_CONTACTINFO is null");
            return (Criteria) this;
        }

        public Criteria andOtrContactinfoIsNotNull() {
            addCriterion("OTR_CONTACTINFO is not null");
            return (Criteria) this;
        }

        public Criteria andOtrContactinfoEqualTo(String value) {
            addCriterion("OTR_CONTACTINFO =", value, "otrContactinfo");
            return (Criteria) this;
        }

        public Criteria andOtrContactinfoNotEqualTo(String value) {
            addCriterion("OTR_CONTACTINFO <>", value, "otrContactinfo");
            return (Criteria) this;
        }

        public Criteria andOtrContactinfoGreaterThan(String value) {
            addCriterion("OTR_CONTACTINFO >", value, "otrContactinfo");
            return (Criteria) this;
        }

        public Criteria andOtrContactinfoGreaterThanOrEqualTo(String value) {
            addCriterion("OTR_CONTACTINFO >=", value, "otrContactinfo");
            return (Criteria) this;
        }

        public Criteria andOtrContactinfoLessThan(String value) {
            addCriterion("OTR_CONTACTINFO <", value, "otrContactinfo");
            return (Criteria) this;
        }

        public Criteria andOtrContactinfoLessThanOrEqualTo(String value) {
            addCriterion("OTR_CONTACTINFO <=", value, "otrContactinfo");
            return (Criteria) this;
        }

        public Criteria andOtrContactinfoLike(String value) {
            addCriterion("OTR_CONTACTINFO like", value, "otrContactinfo");
            return (Criteria) this;
        }

        public Criteria andOtrContactinfoNotLike(String value) {
            addCriterion("OTR_CONTACTINFO not like", value, "otrContactinfo");
            return (Criteria) this;
        }

        public Criteria andOtrContactinfoIn(List<String> values) {
            addCriterion("OTR_CONTACTINFO in", values, "otrContactinfo");
            return (Criteria) this;
        }

        public Criteria andOtrContactinfoNotIn(List<String> values) {
            addCriterion("OTR_CONTACTINFO not in", values, "otrContactinfo");
            return (Criteria) this;
        }

        public Criteria andOtrContactinfoBetween(String value1, String value2) {
            addCriterion("OTR_CONTACTINFO between", value1, value2, "otrContactinfo");
            return (Criteria) this;
        }

        public Criteria andOtrContactinfoNotBetween(String value1, String value2) {
            addCriterion("OTR_CONTACTINFO not between", value1, value2, "otrContactinfo");
            return (Criteria) this;
        }

        public Criteria andOtrPartitionnmIsNull() {
            addCriterion("OTR_PARTITIONNM is null");
            return (Criteria) this;
        }

        public Criteria andOtrPartitionnmIsNotNull() {
            addCriterion("OTR_PARTITIONNM is not null");
            return (Criteria) this;
        }

        public Criteria andOtrPartitionnmEqualTo(String value) {
            addCriterion("OTR_PARTITIONNM =", value, "otrPartitionnm");
            return (Criteria) this;
        }

        public Criteria andOtrPartitionnmNotEqualTo(String value) {
            addCriterion("OTR_PARTITIONNM <>", value, "otrPartitionnm");
            return (Criteria) this;
        }

        public Criteria andOtrPartitionnmGreaterThan(String value) {
            addCriterion("OTR_PARTITIONNM >", value, "otrPartitionnm");
            return (Criteria) this;
        }

        public Criteria andOtrPartitionnmGreaterThanOrEqualTo(String value) {
            addCriterion("OTR_PARTITIONNM >=", value, "otrPartitionnm");
            return (Criteria) this;
        }

        public Criteria andOtrPartitionnmLessThan(String value) {
            addCriterion("OTR_PARTITIONNM <", value, "otrPartitionnm");
            return (Criteria) this;
        }

        public Criteria andOtrPartitionnmLessThanOrEqualTo(String value) {
            addCriterion("OTR_PARTITIONNM <=", value, "otrPartitionnm");
            return (Criteria) this;
        }

        public Criteria andOtrPartitionnmLike(String value) {
            addCriterion("OTR_PARTITIONNM like", value, "otrPartitionnm");
            return (Criteria) this;
        }

        public Criteria andOtrPartitionnmNotLike(String value) {
            addCriterion("OTR_PARTITIONNM not like", value, "otrPartitionnm");
            return (Criteria) this;
        }

        public Criteria andOtrPartitionnmIn(List<String> values) {
            addCriterion("OTR_PARTITIONNM in", values, "otrPartitionnm");
            return (Criteria) this;
        }

        public Criteria andOtrPartitionnmNotIn(List<String> values) {
            addCriterion("OTR_PARTITIONNM not in", values, "otrPartitionnm");
            return (Criteria) this;
        }

        public Criteria andOtrPartitionnmBetween(String value1, String value2) {
            addCriterion("OTR_PARTITIONNM between", value1, value2, "otrPartitionnm");
            return (Criteria) this;
        }

        public Criteria andOtrPartitionnmNotBetween(String value1, String value2) {
            addCriterion("OTR_PARTITIONNM not between", value1, value2, "otrPartitionnm");
            return (Criteria) this;
        }

        public Criteria andOtrArchivetmIsNull() {
            addCriterion("OTR_ARCHIVETM is null");
            return (Criteria) this;
        }

        public Criteria andOtrArchivetmIsNotNull() {
            addCriterion("OTR_ARCHIVETM is not null");
            return (Criteria) this;
        }

        public Criteria andOtrArchivetmEqualTo(Date value) {
            addCriterionForJDBCDate("OTR_ARCHIVETM =", value, "otrArchivetm");
            return (Criteria) this;
        }

        public Criteria andOtrArchivetmNotEqualTo(Date value) {
            addCriterionForJDBCDate("OTR_ARCHIVETM <>", value, "otrArchivetm");
            return (Criteria) this;
        }

        public Criteria andOtrArchivetmGreaterThan(Date value) {
            addCriterionForJDBCDate("OTR_ARCHIVETM >", value, "otrArchivetm");
            return (Criteria) this;
        }

        public Criteria andOtrArchivetmGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("OTR_ARCHIVETM >=", value, "otrArchivetm");
            return (Criteria) this;
        }

        public Criteria andOtrArchivetmLessThan(Date value) {
            addCriterionForJDBCDate("OTR_ARCHIVETM <", value, "otrArchivetm");
            return (Criteria) this;
        }

        public Criteria andOtrArchivetmLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("OTR_ARCHIVETM <=", value, "otrArchivetm");
            return (Criteria) this;
        }

        public Criteria andOtrArchivetmIn(List<Date> values) {
            addCriterionForJDBCDate("OTR_ARCHIVETM in", values, "otrArchivetm");
            return (Criteria) this;
        }

        public Criteria andOtrArchivetmNotIn(List<Date> values) {
            addCriterionForJDBCDate("OTR_ARCHIVETM not in", values, "otrArchivetm");
            return (Criteria) this;
        }

        public Criteria andOtrArchivetmBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("OTR_ARCHIVETM between", value1, value2, "otrArchivetm");
            return (Criteria) this;
        }

        public Criteria andOtrArchivetmNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("OTR_ARCHIVETM not between", value1, value2, "otrArchivetm");
            return (Criteria) this;
        }

        public Criteria andOtrParknoIsNull() {
            addCriterion("OTR_PARKNO is null");
            return (Criteria) this;
        }

        public Criteria andOtrParknoIsNotNull() {
            addCriterion("OTR_PARKNO is not null");
            return (Criteria) this;
        }

        public Criteria andOtrParknoEqualTo(Short value) {
            addCriterion("OTR_PARKNO =", value, "otrParkno");
            return (Criteria) this;
        }

        public Criteria andOtrParknoNotEqualTo(Short value) {
            addCriterion("OTR_PARKNO <>", value, "otrParkno");
            return (Criteria) this;
        }

        public Criteria andOtrParknoGreaterThan(Short value) {
            addCriterion("OTR_PARKNO >", value, "otrParkno");
            return (Criteria) this;
        }

        public Criteria andOtrParknoGreaterThanOrEqualTo(Short value) {
            addCriterion("OTR_PARKNO >=", value, "otrParkno");
            return (Criteria) this;
        }

        public Criteria andOtrParknoLessThan(Short value) {
            addCriterion("OTR_PARKNO <", value, "otrParkno");
            return (Criteria) this;
        }

        public Criteria andOtrParknoLessThanOrEqualTo(Short value) {
            addCriterion("OTR_PARKNO <=", value, "otrParkno");
            return (Criteria) this;
        }

        public Criteria andOtrParknoIn(List<Short> values) {
            addCriterion("OTR_PARKNO in", values, "otrParkno");
            return (Criteria) this;
        }

        public Criteria andOtrParknoNotIn(List<Short> values) {
            addCriterion("OTR_PARKNO not in", values, "otrParkno");
            return (Criteria) this;
        }

        public Criteria andOtrParknoBetween(Short value1, Short value2) {
            addCriterion("OTR_PARKNO between", value1, value2, "otrParkno");
            return (Criteria) this;
        }

        public Criteria andOtrParknoNotBetween(Short value1, Short value2) {
            addCriterion("OTR_PARKNO not between", value1, value2, "otrParkno");
            return (Criteria) this;
        }

        public Criteria andOtrInsertdtIsNull() {
            addCriterion("OTR_INSERTDT is null");
            return (Criteria) this;
        }

        public Criteria andOtrInsertdtIsNotNull() {
            addCriterion("OTR_INSERTDT is not null");
            return (Criteria) this;
        }

        public Criteria andOtrInsertdtEqualTo(Date value) {
            addCriterionForJDBCDate("OTR_INSERTDT =", value, "otrInsertdt");
            return (Criteria) this;
        }

        public Criteria andOtrInsertdtNotEqualTo(Date value) {
            addCriterionForJDBCDate("OTR_INSERTDT <>", value, "otrInsertdt");
            return (Criteria) this;
        }

        public Criteria andOtrInsertdtGreaterThan(Date value) {
            addCriterionForJDBCDate("OTR_INSERTDT >", value, "otrInsertdt");
            return (Criteria) this;
        }

        public Criteria andOtrInsertdtGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("OTR_INSERTDT >=", value, "otrInsertdt");
            return (Criteria) this;
        }

        public Criteria andOtrInsertdtLessThan(Date value) {
            addCriterionForJDBCDate("OTR_INSERTDT <", value, "otrInsertdt");
            return (Criteria) this;
        }

        public Criteria andOtrInsertdtLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("OTR_INSERTDT <=", value, "otrInsertdt");
            return (Criteria) this;
        }

        public Criteria andOtrInsertdtIn(List<Date> values) {
            addCriterionForJDBCDate("OTR_INSERTDT in", values, "otrInsertdt");
            return (Criteria) this;
        }

        public Criteria andOtrInsertdtNotIn(List<Date> values) {
            addCriterionForJDBCDate("OTR_INSERTDT not in", values, "otrInsertdt");
            return (Criteria) this;
        }

        public Criteria andOtrInsertdtBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("OTR_INSERTDT between", value1, value2, "otrInsertdt");
            return (Criteria) this;
        }

        public Criteria andOtrInsertdtNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("OTR_INSERTDT not between", value1, value2, "otrInsertdt");
            return (Criteria) this;
        }

        public Criteria andOtrInsertuserIsNull() {
            addCriterion("OTR_INSERTUSER is null");
            return (Criteria) this;
        }

        public Criteria andOtrInsertuserIsNotNull() {
            addCriterion("OTR_INSERTUSER is not null");
            return (Criteria) this;
        }

        public Criteria andOtrInsertuserEqualTo(String value) {
            addCriterion("OTR_INSERTUSER =", value, "otrInsertuser");
            return (Criteria) this;
        }

        public Criteria andOtrInsertuserNotEqualTo(String value) {
            addCriterion("OTR_INSERTUSER <>", value, "otrInsertuser");
            return (Criteria) this;
        }

        public Criteria andOtrInsertuserGreaterThan(String value) {
            addCriterion("OTR_INSERTUSER >", value, "otrInsertuser");
            return (Criteria) this;
        }

        public Criteria andOtrInsertuserGreaterThanOrEqualTo(String value) {
            addCriterion("OTR_INSERTUSER >=", value, "otrInsertuser");
            return (Criteria) this;
        }

        public Criteria andOtrInsertuserLessThan(String value) {
            addCriterion("OTR_INSERTUSER <", value, "otrInsertuser");
            return (Criteria) this;
        }

        public Criteria andOtrInsertuserLessThanOrEqualTo(String value) {
            addCriterion("OTR_INSERTUSER <=", value, "otrInsertuser");
            return (Criteria) this;
        }

        public Criteria andOtrInsertuserLike(String value) {
            addCriterion("OTR_INSERTUSER like", value, "otrInsertuser");
            return (Criteria) this;
        }

        public Criteria andOtrInsertuserNotLike(String value) {
            addCriterion("OTR_INSERTUSER not like", value, "otrInsertuser");
            return (Criteria) this;
        }

        public Criteria andOtrInsertuserIn(List<String> values) {
            addCriterion("OTR_INSERTUSER in", values, "otrInsertuser");
            return (Criteria) this;
        }

        public Criteria andOtrInsertuserNotIn(List<String> values) {
            addCriterion("OTR_INSERTUSER not in", values, "otrInsertuser");
            return (Criteria) this;
        }

        public Criteria andOtrInsertuserBetween(String value1, String value2) {
            addCriterion("OTR_INSERTUSER between", value1, value2, "otrInsertuser");
            return (Criteria) this;
        }

        public Criteria andOtrInsertuserNotBetween(String value1, String value2) {
            addCriterion("OTR_INSERTUSER not between", value1, value2, "otrInsertuser");
            return (Criteria) this;
        }

        public Criteria andOtrLstupddtIsNull() {
            addCriterion("OTR_LSTUPDDT is null");
            return (Criteria) this;
        }

        public Criteria andOtrLstupddtIsNotNull() {
            addCriterion("OTR_LSTUPDDT is not null");
            return (Criteria) this;
        }

        public Criteria andOtrLstupddtEqualTo(Date value) {
            addCriterionForJDBCDate("OTR_LSTUPDDT =", value, "otrLstupddt");
            return (Criteria) this;
        }

        public Criteria andOtrLstupddtNotEqualTo(Date value) {
            addCriterionForJDBCDate("OTR_LSTUPDDT <>", value, "otrLstupddt");
            return (Criteria) this;
        }

        public Criteria andOtrLstupddtGreaterThan(Date value) {
            addCriterionForJDBCDate("OTR_LSTUPDDT >", value, "otrLstupddt");
            return (Criteria) this;
        }

        public Criteria andOtrLstupddtGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("OTR_LSTUPDDT >=", value, "otrLstupddt");
            return (Criteria) this;
        }

        public Criteria andOtrLstupddtLessThan(Date value) {
            addCriterionForJDBCDate("OTR_LSTUPDDT <", value, "otrLstupddt");
            return (Criteria) this;
        }

        public Criteria andOtrLstupddtLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("OTR_LSTUPDDT <=", value, "otrLstupddt");
            return (Criteria) this;
        }

        public Criteria andOtrLstupddtIn(List<Date> values) {
            addCriterionForJDBCDate("OTR_LSTUPDDT in", values, "otrLstupddt");
            return (Criteria) this;
        }

        public Criteria andOtrLstupddtNotIn(List<Date> values) {
            addCriterionForJDBCDate("OTR_LSTUPDDT not in", values, "otrLstupddt");
            return (Criteria) this;
        }

        public Criteria andOtrLstupddtBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("OTR_LSTUPDDT between", value1, value2, "otrLstupddt");
            return (Criteria) this;
        }

        public Criteria andOtrLstupddtNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("OTR_LSTUPDDT not between", value1, value2, "otrLstupddt");
            return (Criteria) this;
        }

        public Criteria andOtrLstupuserIsNull() {
            addCriterion("OTR_LSTUPUSER is null");
            return (Criteria) this;
        }

        public Criteria andOtrLstupuserIsNotNull() {
            addCriterion("OTR_LSTUPUSER is not null");
            return (Criteria) this;
        }

        public Criteria andOtrLstupuserEqualTo(String value) {
            addCriterion("OTR_LSTUPUSER =", value, "otrLstupuser");
            return (Criteria) this;
        }

        public Criteria andOtrLstupuserNotEqualTo(String value) {
            addCriterion("OTR_LSTUPUSER <>", value, "otrLstupuser");
            return (Criteria) this;
        }

        public Criteria andOtrLstupuserGreaterThan(String value) {
            addCriterion("OTR_LSTUPUSER >", value, "otrLstupuser");
            return (Criteria) this;
        }

        public Criteria andOtrLstupuserGreaterThanOrEqualTo(String value) {
            addCriterion("OTR_LSTUPUSER >=", value, "otrLstupuser");
            return (Criteria) this;
        }

        public Criteria andOtrLstupuserLessThan(String value) {
            addCriterion("OTR_LSTUPUSER <", value, "otrLstupuser");
            return (Criteria) this;
        }

        public Criteria andOtrLstupuserLessThanOrEqualTo(String value) {
            addCriterion("OTR_LSTUPUSER <=", value, "otrLstupuser");
            return (Criteria) this;
        }

        public Criteria andOtrLstupuserLike(String value) {
            addCriterion("OTR_LSTUPUSER like", value, "otrLstupuser");
            return (Criteria) this;
        }

        public Criteria andOtrLstupuserNotLike(String value) {
            addCriterion("OTR_LSTUPUSER not like", value, "otrLstupuser");
            return (Criteria) this;
        }

        public Criteria andOtrLstupuserIn(List<String> values) {
            addCriterion("OTR_LSTUPUSER in", values, "otrLstupuser");
            return (Criteria) this;
        }

        public Criteria andOtrLstupuserNotIn(List<String> values) {
            addCriterion("OTR_LSTUPUSER not in", values, "otrLstupuser");
            return (Criteria) this;
        }

        public Criteria andOtrLstupuserBetween(String value1, String value2) {
            addCriterion("OTR_LSTUPUSER between", value1, value2, "otrLstupuser");
            return (Criteria) this;
        }

        public Criteria andOtrLstupuserNotBetween(String value1, String value2) {
            addCriterion("OTR_LSTUPUSER not between", value1, value2, "otrLstupuser");
            return (Criteria) this;
        }

        public Criteria andOtrChkInchckpointno2IsNull() {
            addCriterion("OTR_CHK_INCHCKPOINTNO2 is null");
            return (Criteria) this;
        }

        public Criteria andOtrChkInchckpointno2IsNotNull() {
            addCriterion("OTR_CHK_INCHCKPOINTNO2 is not null");
            return (Criteria) this;
        }

        public Criteria andOtrChkInchckpointno2EqualTo(String value) {
            addCriterion("OTR_CHK_INCHCKPOINTNO2 =", value, "otrChkInchckpointno2");
            return (Criteria) this;
        }

        public Criteria andOtrChkInchckpointno2NotEqualTo(String value) {
            addCriterion("OTR_CHK_INCHCKPOINTNO2 <>", value, "otrChkInchckpointno2");
            return (Criteria) this;
        }

        public Criteria andOtrChkInchckpointno2GreaterThan(String value) {
            addCriterion("OTR_CHK_INCHCKPOINTNO2 >", value, "otrChkInchckpointno2");
            return (Criteria) this;
        }

        public Criteria andOtrChkInchckpointno2GreaterThanOrEqualTo(String value) {
            addCriterion("OTR_CHK_INCHCKPOINTNO2 >=", value, "otrChkInchckpointno2");
            return (Criteria) this;
        }

        public Criteria andOtrChkInchckpointno2LessThan(String value) {
            addCriterion("OTR_CHK_INCHCKPOINTNO2 <", value, "otrChkInchckpointno2");
            return (Criteria) this;
        }

        public Criteria andOtrChkInchckpointno2LessThanOrEqualTo(String value) {
            addCriterion("OTR_CHK_INCHCKPOINTNO2 <=", value, "otrChkInchckpointno2");
            return (Criteria) this;
        }

        public Criteria andOtrChkInchckpointno2Like(String value) {
            addCriterion("OTR_CHK_INCHCKPOINTNO2 like", value, "otrChkInchckpointno2");
            return (Criteria) this;
        }

        public Criteria andOtrChkInchckpointno2NotLike(String value) {
            addCriterion("OTR_CHK_INCHCKPOINTNO2 not like", value, "otrChkInchckpointno2");
            return (Criteria) this;
        }

        public Criteria andOtrChkInchckpointno2In(List<String> values) {
            addCriterion("OTR_CHK_INCHCKPOINTNO2 in", values, "otrChkInchckpointno2");
            return (Criteria) this;
        }

        public Criteria andOtrChkInchckpointno2NotIn(List<String> values) {
            addCriterion("OTR_CHK_INCHCKPOINTNO2 not in", values, "otrChkInchckpointno2");
            return (Criteria) this;
        }

        public Criteria andOtrChkInchckpointno2Between(String value1, String value2) {
            addCriterion("OTR_CHK_INCHCKPOINTNO2 between", value1, value2, "otrChkInchckpointno2");
            return (Criteria) this;
        }

        public Criteria andOtrChkInchckpointno2NotBetween(String value1, String value2) {
            addCriterion("OTR_CHK_INCHCKPOINTNO2 not between", value1, value2, "otrChkInchckpointno2");
            return (Criteria) this;
        }

        public Criteria andOtrIngatetm2IsNull() {
            addCriterion("OTR_INGATETM2 is null");
            return (Criteria) this;
        }

        public Criteria andOtrIngatetm2IsNotNull() {
            addCriterion("OTR_INGATETM2 is not null");
            return (Criteria) this;
        }

        public Criteria andOtrIngatetm2EqualTo(Date value) {
            addCriterionForJDBCDate("OTR_INGATETM2 =", value, "otrIngatetm2");
            return (Criteria) this;
        }

        public Criteria andOtrIngatetm2NotEqualTo(Date value) {
            addCriterionForJDBCDate("OTR_INGATETM2 <>", value, "otrIngatetm2");
            return (Criteria) this;
        }

        public Criteria andOtrIngatetm2GreaterThan(Date value) {
            addCriterionForJDBCDate("OTR_INGATETM2 >", value, "otrIngatetm2");
            return (Criteria) this;
        }

        public Criteria andOtrIngatetm2GreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("OTR_INGATETM2 >=", value, "otrIngatetm2");
            return (Criteria) this;
        }

        public Criteria andOtrIngatetm2LessThan(Date value) {
            addCriterionForJDBCDate("OTR_INGATETM2 <", value, "otrIngatetm2");
            return (Criteria) this;
        }

        public Criteria andOtrIngatetm2LessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("OTR_INGATETM2 <=", value, "otrIngatetm2");
            return (Criteria) this;
        }

        public Criteria andOtrIngatetm2In(List<Date> values) {
            addCriterionForJDBCDate("OTR_INGATETM2 in", values, "otrIngatetm2");
            return (Criteria) this;
        }

        public Criteria andOtrIngatetm2NotIn(List<Date> values) {
            addCriterionForJDBCDate("OTR_INGATETM2 not in", values, "otrIngatetm2");
            return (Criteria) this;
        }

        public Criteria andOtrIngatetm2Between(Date value1, Date value2) {
            addCriterionForJDBCDate("OTR_INGATETM2 between", value1, value2, "otrIngatetm2");
            return (Criteria) this;
        }

        public Criteria andOtrIngatetm2NotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("OTR_INGATETM2 not between", value1, value2, "otrIngatetm2");
            return (Criteria) this;
        }

        public Criteria andOtrStartTmIsNull() {
            addCriterion("OTR_START_TM is null");
            return (Criteria) this;
        }

        public Criteria andOtrStartTmIsNotNull() {
            addCriterion("OTR_START_TM is not null");
            return (Criteria) this;
        }

        public Criteria andOtrStartTmEqualTo(Date value) {
            addCriterionForJDBCDate("OTR_START_TM =", value, "otrStartTm");
            return (Criteria) this;
        }

        public Criteria andOtrStartTmNotEqualTo(Date value) {
            addCriterionForJDBCDate("OTR_START_TM <>", value, "otrStartTm");
            return (Criteria) this;
        }

        public Criteria andOtrStartTmGreaterThan(Date value) {
            addCriterionForJDBCDate("OTR_START_TM >", value, "otrStartTm");
            return (Criteria) this;
        }

        public Criteria andOtrStartTmGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("OTR_START_TM >=", value, "otrStartTm");
            return (Criteria) this;
        }

        public Criteria andOtrStartTmLessThan(Date value) {
            addCriterionForJDBCDate("OTR_START_TM <", value, "otrStartTm");
            return (Criteria) this;
        }

        public Criteria andOtrStartTmLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("OTR_START_TM <=", value, "otrStartTm");
            return (Criteria) this;
        }

        public Criteria andOtrStartTmIn(List<Date> values) {
            addCriterionForJDBCDate("OTR_START_TM in", values, "otrStartTm");
            return (Criteria) this;
        }

        public Criteria andOtrStartTmNotIn(List<Date> values) {
            addCriterionForJDBCDate("OTR_START_TM not in", values, "otrStartTm");
            return (Criteria) this;
        }

        public Criteria andOtrStartTmBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("OTR_START_TM between", value1, value2, "otrStartTm");
            return (Criteria) this;
        }

        public Criteria andOtrStartTmNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("OTR_START_TM not between", value1, value2, "otrStartTm");
            return (Criteria) this;
        }

        public Criteria andOtrQrCodeIsNull() {
            addCriterion("OTR_QR_CODE is null");
            return (Criteria) this;
        }

        public Criteria andOtrQrCodeIsNotNull() {
            addCriterion("OTR_QR_CODE is not null");
            return (Criteria) this;
        }

        public Criteria andOtrQrCodeEqualTo(String value) {
            addCriterion("OTR_QR_CODE =", value, "otrQrCode");
            return (Criteria) this;
        }

        public Criteria andOtrQrCodeNotEqualTo(String value) {
            addCriterion("OTR_QR_CODE <>", value, "otrQrCode");
            return (Criteria) this;
        }

        public Criteria andOtrQrCodeGreaterThan(String value) {
            addCriterion("OTR_QR_CODE >", value, "otrQrCode");
            return (Criteria) this;
        }

        public Criteria andOtrQrCodeGreaterThanOrEqualTo(String value) {
            addCriterion("OTR_QR_CODE >=", value, "otrQrCode");
            return (Criteria) this;
        }

        public Criteria andOtrQrCodeLessThan(String value) {
            addCriterion("OTR_QR_CODE <", value, "otrQrCode");
            return (Criteria) this;
        }

        public Criteria andOtrQrCodeLessThanOrEqualTo(String value) {
            addCriterion("OTR_QR_CODE <=", value, "otrQrCode");
            return (Criteria) this;
        }

        public Criteria andOtrQrCodeLike(String value) {
            addCriterion("OTR_QR_CODE like", value, "otrQrCode");
            return (Criteria) this;
        }

        public Criteria andOtrQrCodeNotLike(String value) {
            addCriterion("OTR_QR_CODE not like", value, "otrQrCode");
            return (Criteria) this;
        }

        public Criteria andOtrQrCodeIn(List<String> values) {
            addCriterion("OTR_QR_CODE in", values, "otrQrCode");
            return (Criteria) this;
        }

        public Criteria andOtrQrCodeNotIn(List<String> values) {
            addCriterion("OTR_QR_CODE not in", values, "otrQrCode");
            return (Criteria) this;
        }

        public Criteria andOtrQrCodeBetween(String value1, String value2) {
            addCriterion("OTR_QR_CODE between", value1, value2, "otrQrCode");
            return (Criteria) this;
        }

        public Criteria andOtrQrCodeNotBetween(String value1, String value2) {
            addCriterion("OTR_QR_CODE not between", value1, value2, "otrQrCode");
            return (Criteria) this;
        }

        public Criteria andOtrPickupPosIsNull() {
            addCriterion("OTR_PICKUP_POS is null");
            return (Criteria) this;
        }

        public Criteria andOtrPickupPosIsNotNull() {
            addCriterion("OTR_PICKUP_POS is not null");
            return (Criteria) this;
        }

        public Criteria andOtrPickupPosEqualTo(String value) {
            addCriterion("OTR_PICKUP_POS =", value, "otrPickupPos");
            return (Criteria) this;
        }

        public Criteria andOtrPickupPosNotEqualTo(String value) {
            addCriterion("OTR_PICKUP_POS <>", value, "otrPickupPos");
            return (Criteria) this;
        }

        public Criteria andOtrPickupPosGreaterThan(String value) {
            addCriterion("OTR_PICKUP_POS >", value, "otrPickupPos");
            return (Criteria) this;
        }

        public Criteria andOtrPickupPosGreaterThanOrEqualTo(String value) {
            addCriterion("OTR_PICKUP_POS >=", value, "otrPickupPos");
            return (Criteria) this;
        }

        public Criteria andOtrPickupPosLessThan(String value) {
            addCriterion("OTR_PICKUP_POS <", value, "otrPickupPos");
            return (Criteria) this;
        }

        public Criteria andOtrPickupPosLessThanOrEqualTo(String value) {
            addCriterion("OTR_PICKUP_POS <=", value, "otrPickupPos");
            return (Criteria) this;
        }

        public Criteria andOtrPickupPosLike(String value) {
            addCriterion("OTR_PICKUP_POS like", value, "otrPickupPos");
            return (Criteria) this;
        }

        public Criteria andOtrPickupPosNotLike(String value) {
            addCriterion("OTR_PICKUP_POS not like", value, "otrPickupPos");
            return (Criteria) this;
        }

        public Criteria andOtrPickupPosIn(List<String> values) {
            addCriterion("OTR_PICKUP_POS in", values, "otrPickupPos");
            return (Criteria) this;
        }

        public Criteria andOtrPickupPosNotIn(List<String> values) {
            addCriterion("OTR_PICKUP_POS not in", values, "otrPickupPos");
            return (Criteria) this;
        }

        public Criteria andOtrPickupPosBetween(String value1, String value2) {
            addCriterion("OTR_PICKUP_POS between", value1, value2, "otrPickupPos");
            return (Criteria) this;
        }

        public Criteria andOtrPickupPosNotBetween(String value1, String value2) {
            addCriterion("OTR_PICKUP_POS not between", value1, value2, "otrPickupPos");
            return (Criteria) this;
        }

        public Criteria andOtrVoicecallIsNull() {
            addCriterion("OTR_VOICECALL is null");
            return (Criteria) this;
        }

        public Criteria andOtrVoicecallIsNotNull() {
            addCriterion("OTR_VOICECALL is not null");
            return (Criteria) this;
        }

        public Criteria andOtrVoicecallEqualTo(String value) {
            addCriterion("OTR_VOICECALL =", value, "otrVoicecall");
            return (Criteria) this;
        }

        public Criteria andOtrVoicecallNotEqualTo(String value) {
            addCriterion("OTR_VOICECALL <>", value, "otrVoicecall");
            return (Criteria) this;
        }

        public Criteria andOtrVoicecallGreaterThan(String value) {
            addCriterion("OTR_VOICECALL >", value, "otrVoicecall");
            return (Criteria) this;
        }

        public Criteria andOtrVoicecallGreaterThanOrEqualTo(String value) {
            addCriterion("OTR_VOICECALL >=", value, "otrVoicecall");
            return (Criteria) this;
        }

        public Criteria andOtrVoicecallLessThan(String value) {
            addCriterion("OTR_VOICECALL <", value, "otrVoicecall");
            return (Criteria) this;
        }

        public Criteria andOtrVoicecallLessThanOrEqualTo(String value) {
            addCriterion("OTR_VOICECALL <=", value, "otrVoicecall");
            return (Criteria) this;
        }

        public Criteria andOtrVoicecallLike(String value) {
            addCriterion("OTR_VOICECALL like", value, "otrVoicecall");
            return (Criteria) this;
        }

        public Criteria andOtrVoicecallNotLike(String value) {
            addCriterion("OTR_VOICECALL not like", value, "otrVoicecall");
            return (Criteria) this;
        }

        public Criteria andOtrVoicecallIn(List<String> values) {
            addCriterion("OTR_VOICECALL in", values, "otrVoicecall");
            return (Criteria) this;
        }

        public Criteria andOtrVoicecallNotIn(List<String> values) {
            addCriterion("OTR_VOICECALL not in", values, "otrVoicecall");
            return (Criteria) this;
        }

        public Criteria andOtrVoicecallBetween(String value1, String value2) {
            addCriterion("OTR_VOICECALL between", value1, value2, "otrVoicecall");
            return (Criteria) this;
        }

        public Criteria andOtrVoicecallNotBetween(String value1, String value2) {
            addCriterion("OTR_VOICECALL not between", value1, value2, "otrVoicecall");
            return (Criteria) this;
        }

        public Criteria andOtrVoicecallIdIsNull() {
            addCriterion("OTR_VOICECALL_ID is null");
            return (Criteria) this;
        }

        public Criteria andOtrVoicecallIdIsNotNull() {
            addCriterion("OTR_VOICECALL_ID is not null");
            return (Criteria) this;
        }

        public Criteria andOtrVoicecallIdEqualTo(String value) {
            addCriterion("OTR_VOICECALL_ID =", value, "otrVoicecallId");
            return (Criteria) this;
        }

        public Criteria andOtrVoicecallIdNotEqualTo(String value) {
            addCriterion("OTR_VOICECALL_ID <>", value, "otrVoicecallId");
            return (Criteria) this;
        }

        public Criteria andOtrVoicecallIdGreaterThan(String value) {
            addCriterion("OTR_VOICECALL_ID >", value, "otrVoicecallId");
            return (Criteria) this;
        }

        public Criteria andOtrVoicecallIdGreaterThanOrEqualTo(String value) {
            addCriterion("OTR_VOICECALL_ID >=", value, "otrVoicecallId");
            return (Criteria) this;
        }

        public Criteria andOtrVoicecallIdLessThan(String value) {
            addCriterion("OTR_VOICECALL_ID <", value, "otrVoicecallId");
            return (Criteria) this;
        }

        public Criteria andOtrVoicecallIdLessThanOrEqualTo(String value) {
            addCriterion("OTR_VOICECALL_ID <=", value, "otrVoicecallId");
            return (Criteria) this;
        }

        public Criteria andOtrVoicecallIdLike(String value) {
            addCriterion("OTR_VOICECALL_ID like", value, "otrVoicecallId");
            return (Criteria) this;
        }

        public Criteria andOtrVoicecallIdNotLike(String value) {
            addCriterion("OTR_VOICECALL_ID not like", value, "otrVoicecallId");
            return (Criteria) this;
        }

        public Criteria andOtrVoicecallIdIn(List<String> values) {
            addCriterion("OTR_VOICECALL_ID in", values, "otrVoicecallId");
            return (Criteria) this;
        }

        public Criteria andOtrVoicecallIdNotIn(List<String> values) {
            addCriterion("OTR_VOICECALL_ID not in", values, "otrVoicecallId");
            return (Criteria) this;
        }

        public Criteria andOtrVoicecallIdBetween(String value1, String value2) {
            addCriterion("OTR_VOICECALL_ID between", value1, value2, "otrVoicecallId");
            return (Criteria) this;
        }

        public Criteria andOtrVoicecallIdNotBetween(String value1, String value2) {
            addCriterion("OTR_VOICECALL_ID not between", value1, value2, "otrVoicecallId");
            return (Criteria) this;
        }

        public Criteria andOtrVoicecallTmIsNull() {
            addCriterion("OTR_VOICECALL_TM is null");
            return (Criteria) this;
        }

        public Criteria andOtrVoicecallTmIsNotNull() {
            addCriterion("OTR_VOICECALL_TM is not null");
            return (Criteria) this;
        }

        public Criteria andOtrVoicecallTmEqualTo(Date value) {
            addCriterionForJDBCDate("OTR_VOICECALL_TM =", value, "otrVoicecallTm");
            return (Criteria) this;
        }

        public Criteria andOtrVoicecallTmNotEqualTo(Date value) {
            addCriterionForJDBCDate("OTR_VOICECALL_TM <>", value, "otrVoicecallTm");
            return (Criteria) this;
        }

        public Criteria andOtrVoicecallTmGreaterThan(Date value) {
            addCriterionForJDBCDate("OTR_VOICECALL_TM >", value, "otrVoicecallTm");
            return (Criteria) this;
        }

        public Criteria andOtrVoicecallTmGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("OTR_VOICECALL_TM >=", value, "otrVoicecallTm");
            return (Criteria) this;
        }

        public Criteria andOtrVoicecallTmLessThan(Date value) {
            addCriterionForJDBCDate("OTR_VOICECALL_TM <", value, "otrVoicecallTm");
            return (Criteria) this;
        }

        public Criteria andOtrVoicecallTmLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("OTR_VOICECALL_TM <=", value, "otrVoicecallTm");
            return (Criteria) this;
        }

        public Criteria andOtrVoicecallTmIn(List<Date> values) {
            addCriterionForJDBCDate("OTR_VOICECALL_TM in", values, "otrVoicecallTm");
            return (Criteria) this;
        }

        public Criteria andOtrVoicecallTmNotIn(List<Date> values) {
            addCriterionForJDBCDate("OTR_VOICECALL_TM not in", values, "otrVoicecallTm");
            return (Criteria) this;
        }

        public Criteria andOtrVoicecallTmBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("OTR_VOICECALL_TM between", value1, value2, "otrVoicecallTm");
            return (Criteria) this;
        }

        public Criteria andOtrVoicecallTmNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("OTR_VOICECALL_TM not between", value1, value2, "otrVoicecallTm");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}